package com.smartcar.client.service;

import com.github.pagehelper.PageInfo;
import com.smartcar.client.domin.*;
import com.smartcar.client.vo.AnnexVo;
import com.smartcar.client.vo.ConsumptionVo;
import com.smartcar.client.vo.RechargeVo;
import com.smartcar.common.domain.request.OrderRequest;

import java.util.List;

public interface ClientService {


    Annex findByAnnex(AnnexVo annexVo);

    PageInfo<Consumption> findByConsumption(ConsumptionVo consumptionVo);

    PageInfo<Recharge>  findByRecharge(RechargeVo rechargeVo);

    Vip findByVipId(String userId);

    Integer insertAnnex(Annex annex);

    Integer topUp(Annex annex);

    Integer insertVip(Vip vip);

    Integer insertOrder(OrderRequest orderRequest);

    Destination address(Destination destination);
}
